package modelo;

/**
 * Classe que representa um ponto no mundo, contendo os valores x, y, z e w.
 * 
 * @author jean
 * @author diego
 */
public class Ponto {

	private double x;
	private double y;
	private double z;
	private double w;

	/**
	 * Cria um novo Ponto
	 * 
	 * @param x
	 * @param y
	 *            -
	 * @param z
	 * @param w
	 */
	public Ponto(double x, double y, double z, double w) {
		this.x = x;
		this.y = y;
		this.z = z;
		this.w = w;
	}

	/**
	 * @return the x
	 */
	public double getX() {
		return x;
	}

	/**
	 * @param x
	 *            the x to set
	 */
	public void setX(double x) {
		this.x = x;
	}

	/**
	 * @return the y
	 */
	public double getY() {
		return y;
	}

	/**
	 * @param y
	 *            the y to set
	 */
	public void setY(double y) {
		this.y = y;
	}

	/**
	 * Retorna o valor para a coordenada z
	 * 
	 * @return the z
	 */
	public double getZ() {
		return z;
	}

	/**
	 * @param z
	 *            the z to set
	 */
	public void setZ(double z) {
		this.z = z;
	}

	/**
	 * Retorna o valor para a coordenada w
	 * 
	 * @return the w
	 */
	public double getW() {
		return w;
	}

	/**
	 * @param w
	 *            the w to set
	 */
	public void setW(double w) {
		this.w = w;
	}

}
